//
// Created by fanghr on 18-3-28.
//

#ifndef NEF_BACKEND_GETWORLDACC_H
#define NEF_BACKEND_GETWORLDACC_H

#define MAX_ACC_DATA 4096

class getWorldAcc {
private:
    double gx, gy, gz;
    double arx, ary, arz;
    double tmpqw, tmpqx, tmpqy, tmpqz;
    double conqw, conqx, conqy, conqz;

public:
    double WAx, WAy, WAz;

    void calc(int qw, int qx, int qy, int qz, int ax, int ay, int az);
};

#endif //NEF_BACKEND_GETWORLDACC_H
